/**
 * 
 */
package org.rollinitiative.d20.entity;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;

/**
 * @author jmccormi
 * 
 */
@XmlType(name = "AbilityModifierType", namespace = "java:org.rollinitiative.d20.entity")
public class AbilityModifier
{
   private int modifier = 0;

   private Ability ability;
   
   private QName id;

   /**
    * @return the modifier
    */
   public int getModifier()
   {
      return modifier;
   }

   /**
    * @param modifier the modifier to set
    */
   @XmlAttribute(required = true)
   public void setModifier(int modifier)
   {
      this.modifier = modifier;
   }

   /**
    * @return the ability
    */
   public Ability getAbility()
   {
      return ability;
   }

   /**
    * @param ability the ability to set
    */
   @XmlAttribute(required = true)
   public void setAbility(Ability ability)
   {
      this.ability = ability;
   }

   /**
    * @return the id
    */
   public QName getId()
   {
      return id;
   }

   /**
    * @param id the id to set
    */
   @XmlAttribute(required = true)
   public void setId(QName id)
   {
      this.id = id;
   }
   
   
}
